3.127 \(\int \frac{x^8}{a+b x^2} \, dx\)

Optimal. Leaf size=68 \[ \frac{a^{7/2} \tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{b^{9/2}}-\frac{a^3 x}{b^4}+\frac{a^2 x^3}{3 b^3}-\frac{a x^5}{5 b^2}+\frac{x^7}{7 b} \]

[Out]

-((a^3*x)/b^4) + (a^2*x^3)/(3*b^3) - (a*x^5)/(5*b^2) + x^7/(7*b) + (a^(7/2)*ArcT
an[(Sqrt[b]*x)/Sqrt[a]])/b^(9/2)

_______________________________________________________________________________________

Rubi [A]  time = 0.0769098, antiderivative size = 68, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154 \[ \frac{a^{7/2} \tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{b^{9/2}}-\frac{a^3 x}{b^4}+\frac{a^2 x^3}{3 b^3}-\frac{a x^5}{5 b^2}+\frac{x^7}{7 b} \]

Antiderivative was successfully verified.

[In]  Int[x^8/(a + b*x^2),x]

[Out]

-((a^3*x)/b^4) + (a^2*x^3)/(3*b^3) - (a*x^5)/(5*b^2) + x^7/(7*b) + (a^(7/2)*ArcT
an[(Sqrt[b]*x)/Sqrt[a]])/b^(9/2)

_______________________________________________________________________________________

Rubi in Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \frac{a^{\frac{7}{2}} \operatorname{atan}{\left (\frac{\sqrt{b} x}{\sqrt{a}} \right )}}{b^{\frac{9}{2}}} + \frac{a^{2} x^{3}}{3 b^{3}} - \frac{a x^{5}}{5 b^{2}} + \frac{x^{7}}{7 b} - \frac{\int a^{3}\, dx}{b^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**8/(b*x**2+a),x)

[Out]

a**(7/2)*atan(sqrt(b)*x/sqrt(a))/b**(9/2) + a**2*x**3/(3*b**3) - a*x**5/(5*b**2)
 + x**7/(7*b) - Integral(a**3, x)/b**4

_______________________________________________________________________________________

Mathematica [A]  time = 0.0448975, size = 68, normalized size = 1. \[ \frac{a^{7/2} \tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{b^{9/2}}-\frac{a^3 x}{b^4}+\frac{a^2 x^3}{3 b^3}-\frac{a x^5}{5 b^2}+\frac{x^7}{7 b} \]

Antiderivative was successfully verified.

[In]  Integrate[x^8/(a + b*x^2),x]

[Out]

-((a^3*x)/b^4) + (a^2*x^3)/(3*b^3) - (a*x^5)/(5*b^2) + x^7/(7*b) + (a^(7/2)*ArcT
an[(Sqrt[b]*x)/Sqrt[a]])/b^(9/2)

_______________________________________________________________________________________

Maple [A]  time = 0.004, size = 60, normalized size = 0.9 \[{\frac{{x}^{7}}{7\,b}}-{\frac{a{x}^{5}}{5\,{b}^{2}}}+{\frac{{a}^{2}{x}^{3}}{3\,{b}^{3}}}-{\frac{{a}^{3}x}{{b}^{4}}}+{\frac{{a}^{4}}{{b}^{4}}\arctan \left ({bx{\frac{1}{\sqrt{ab}}}} \right ){\frac{1}{\sqrt{ab}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^8/(b*x^2+a),x)

[Out]

1/7*x^7/b-1/5*a*x^5/b^2+1/3*a^2*x^3/b^3-a^3*x/b^4+a^4/b^4/(a*b)^(1/2)*arctan(x*b
/(a*b)^(1/2))

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^8/(b*x^2 + a),x, algorithm="maxima")

[Out]

Exception raised: ValueError

_______________________________________________________________________________________

Fricas [A]  time = 0.206369, size = 1, normalized size = 0.01 \[ \left [\frac{30 \, b^{3} x^{7} - 42 \, a b^{2} x^{5} + 70 \, a^{2} b x^{3} + 105 \, a^{3} \sqrt{-\frac{a}{b}} \log \left (\frac{b x^{2} + 2 \, b x \sqrt{-\frac{a}{b}} - a}{b x^{2} + a}\right ) - 210 \, a^{3} x}{210 \, b^{4}}, \frac{15 \, b^{3} x^{7} - 21 \, a b^{2} x^{5} + 35 \, a^{2} b x^{3} + 105 \, a^{3} \sqrt{\frac{a}{b}} \arctan \left (\frac{x}{\sqrt{\frac{a}{b}}}\right ) - 105 \, a^{3} x}{105 \, b^{4}}\right ] \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^8/(b*x^2 + a),x, algorithm="fricas")

[Out]

[1/210*(30*b^3*x^7 - 42*a*b^2*x^5 + 70*a^2*b*x^3 + 105*a^3*sqrt(-a/b)*log((b*x^2
 + 2*b*x*sqrt(-a/b) - a)/(b*x^2 + a)) - 210*a^3*x)/b^4, 1/105*(15*b^3*x^7 - 21*a
*b^2*x^5 + 35*a^2*b*x^3 + 105*a^3*sqrt(a/b)*arctan(x/sqrt(a/b)) - 105*a^3*x)/b^4
]

_______________________________________________________________________________________

Sympy [A]  time = 1.31395, size = 107, normalized size = 1.57 \[ - \frac{a^{3} x}{b^{4}} + \frac{a^{2} x^{3}}{3 b^{3}} - \frac{a x^{5}}{5 b^{2}} - \frac{\sqrt{- \frac{a^{7}}{b^{9}}} \log{\left (x - \frac{b^{4} \sqrt{- \frac{a^{7}}{b^{9}}}}{a^{3}} \right )}}{2} + \frac{\sqrt{- \frac{a^{7}}{b^{9}}} \log{\left (x + \frac{b^{4} \sqrt{- \frac{a^{7}}{b^{9}}}}{a^{3}} \right )}}{2} + \frac{x^{7}}{7 b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**8/(b*x**2+a),x)

[Out]

-a**3*x/b**4 + a**2*x**3/(3*b**3) - a*x**5/(5*b**2) - sqrt(-a**7/b**9)*log(x - b
**4*sqrt(-a**7/b**9)/a**3)/2 + sqrt(-a**7/b**9)*log(x + b**4*sqrt(-a**7/b**9)/a*
*3)/2 + x**7/(7*b)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.210717, size = 88, normalized size = 1.29 \[ \frac{a^{4} \arctan \left (\frac{b x}{\sqrt{a b}}\right )}{\sqrt{a b} b^{4}} + \frac{15 \, b^{6} x^{7} - 21 \, a b^{5} x^{5} + 35 \, a^{2} b^{4} x^{3} - 105 \, a^{3} b^{3} x}{105 \, b^{7}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^8/(b*x^2 + a),x, algorithm="giac")

[Out]

a^4*arctan(b*x/sqrt(a*b))/(sqrt(a*b)*b^4) + 1/105*(15*b^6*x^7 - 21*a*b^5*x^5 + 3
5*a^2*b^4*x^3 - 105*a^3*b^3*x)/b^7